package com.shangdiao.sd_server.generator.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SdParttimeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SdParttimeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andParttimeIdIsNull() {
            addCriterion("PARTTIME_ID is null");
            return (Criteria) this;
        }

        public Criteria andParttimeIdIsNotNull() {
            addCriterion("PARTTIME_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParttimeIdEqualTo(Integer value) {
            addCriterion("PARTTIME_ID =", value, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdNotEqualTo(Integer value) {
            addCriterion("PARTTIME_ID <>", value, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdGreaterThan(Integer value) {
            addCriterion("PARTTIME_ID >", value, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PARTTIME_ID >=", value, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdLessThan(Integer value) {
            addCriterion("PARTTIME_ID <", value, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdLessThanOrEqualTo(Integer value) {
            addCriterion("PARTTIME_ID <=", value, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdIn(List<Integer> values) {
            addCriterion("PARTTIME_ID in", values, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdNotIn(List<Integer> values) {
            addCriterion("PARTTIME_ID not in", values, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdBetween(Integer value1, Integer value2) {
            addCriterion("PARTTIME_ID between", value1, value2, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andParttimeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PARTTIME_ID not between", value1, value2, "parttimeId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdIsNull() {
            addCriterion("DIC_PARTTIME_FIELD_ID is null");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdIsNotNull() {
            addCriterion("DIC_PARTTIME_FIELD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdEqualTo(Integer value) {
            addCriterion("DIC_PARTTIME_FIELD_ID =", value, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdNotEqualTo(Integer value) {
            addCriterion("DIC_PARTTIME_FIELD_ID <>", value, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdGreaterThan(Integer value) {
            addCriterion("DIC_PARTTIME_FIELD_ID >", value, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DIC_PARTTIME_FIELD_ID >=", value, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdLessThan(Integer value) {
            addCriterion("DIC_PARTTIME_FIELD_ID <", value, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdLessThanOrEqualTo(Integer value) {
            addCriterion("DIC_PARTTIME_FIELD_ID <=", value, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdIn(List<Integer> values) {
            addCriterion("DIC_PARTTIME_FIELD_ID in", values, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdNotIn(List<Integer> values) {
            addCriterion("DIC_PARTTIME_FIELD_ID not in", values, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdBetween(Integer value1, Integer value2) {
            addCriterion("DIC_PARTTIME_FIELD_ID between", value1, value2, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DIC_PARTTIME_FIELD_ID not between", value1, value2, "dicParttimeFieldId");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameIsNull() {
            addCriterion("DIC_PARTTIME_FIELD_NAME is null");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameIsNotNull() {
            addCriterion("DIC_PARTTIME_FIELD_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameEqualTo(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME =", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameNotEqualTo(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME <>", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameGreaterThan(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME >", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameGreaterThanOrEqualTo(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME >=", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameLessThan(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME <", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameLessThanOrEqualTo(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME <=", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameLike(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME like", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameNotLike(String value) {
            addCriterion("DIC_PARTTIME_FIELD_NAME not like", value, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameIn(List<String> values) {
            addCriterion("DIC_PARTTIME_FIELD_NAME in", values, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameNotIn(List<String> values) {
            addCriterion("DIC_PARTTIME_FIELD_NAME not in", values, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameBetween(String value1, String value2) {
            addCriterion("DIC_PARTTIME_FIELD_NAME between", value1, value2, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andDicParttimeFieldNameNotBetween(String value1, String value2) {
            addCriterion("DIC_PARTTIME_FIELD_NAME not between", value1, value2, "dicParttimeFieldName");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("COMPANY_ID is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("COMPANY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Integer value) {
            addCriterion("COMPANY_ID =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Integer value) {
            addCriterion("COMPANY_ID <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Integer value) {
            addCriterion("COMPANY_ID >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("COMPANY_ID >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Integer value) {
            addCriterion("COMPANY_ID <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("COMPANY_ID <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Integer> values) {
            addCriterion("COMPANY_ID in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Integer> values) {
            addCriterion("COMPANY_ID not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("COMPANY_ID between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("COMPANY_ID not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersIsNull() {
            addCriterion("RECRUITING_NUMBERS is null");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersIsNotNull() {
            addCriterion("RECRUITING_NUMBERS is not null");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersEqualTo(Integer value) {
            addCriterion("RECRUITING_NUMBERS =", value, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersNotEqualTo(Integer value) {
            addCriterion("RECRUITING_NUMBERS <>", value, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersGreaterThan(Integer value) {
            addCriterion("RECRUITING_NUMBERS >", value, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersGreaterThanOrEqualTo(Integer value) {
            addCriterion("RECRUITING_NUMBERS >=", value, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersLessThan(Integer value) {
            addCriterion("RECRUITING_NUMBERS <", value, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersLessThanOrEqualTo(Integer value) {
            addCriterion("RECRUITING_NUMBERS <=", value, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersIn(List<Integer> values) {
            addCriterion("RECRUITING_NUMBERS in", values, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersNotIn(List<Integer> values) {
            addCriterion("RECRUITING_NUMBERS not in", values, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersBetween(Integer value1, Integer value2) {
            addCriterion("RECRUITING_NUMBERS between", value1, value2, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andRecruitingNumbersNotBetween(Integer value1, Integer value2) {
            addCriterion("RECRUITING_NUMBERS not between", value1, value2, "recruitingNumbers");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdIsNull() {
            addCriterion("DIC_SETTLEMENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdIsNotNull() {
            addCriterion("DIC_SETTLEMENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdEqualTo(Integer value) {
            addCriterion("DIC_SETTLEMENT_ID =", value, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdNotEqualTo(Integer value) {
            addCriterion("DIC_SETTLEMENT_ID <>", value, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdGreaterThan(Integer value) {
            addCriterion("DIC_SETTLEMENT_ID >", value, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DIC_SETTLEMENT_ID >=", value, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdLessThan(Integer value) {
            addCriterion("DIC_SETTLEMENT_ID <", value, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdLessThanOrEqualTo(Integer value) {
            addCriterion("DIC_SETTLEMENT_ID <=", value, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdIn(List<Integer> values) {
            addCriterion("DIC_SETTLEMENT_ID in", values, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdNotIn(List<Integer> values) {
            addCriterion("DIC_SETTLEMENT_ID not in", values, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdBetween(Integer value1, Integer value2) {
            addCriterion("DIC_SETTLEMENT_ID between", value1, value2, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DIC_SETTLEMENT_ID not between", value1, value2, "dicSettlementId");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameIsNull() {
            addCriterion("DIC_SETTLEMENT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameIsNotNull() {
            addCriterion("DIC_SETTLEMENT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameEqualTo(String value) {
            addCriterion("DIC_SETTLEMENT_NAME =", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameNotEqualTo(String value) {
            addCriterion("DIC_SETTLEMENT_NAME <>", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameGreaterThan(String value) {
            addCriterion("DIC_SETTLEMENT_NAME >", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameGreaterThanOrEqualTo(String value) {
            addCriterion("DIC_SETTLEMENT_NAME >=", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameLessThan(String value) {
            addCriterion("DIC_SETTLEMENT_NAME <", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameLessThanOrEqualTo(String value) {
            addCriterion("DIC_SETTLEMENT_NAME <=", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameLike(String value) {
            addCriterion("DIC_SETTLEMENT_NAME like", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameNotLike(String value) {
            addCriterion("DIC_SETTLEMENT_NAME not like", value, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameIn(List<String> values) {
            addCriterion("DIC_SETTLEMENT_NAME in", values, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameNotIn(List<String> values) {
            addCriterion("DIC_SETTLEMENT_NAME not in", values, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameBetween(String value1, String value2) {
            addCriterion("DIC_SETTLEMENT_NAME between", value1, value2, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andDicSettlementNameNotBetween(String value1, String value2) {
            addCriterion("DIC_SETTLEMENT_NAME not between", value1, value2, "dicSettlementName");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceIsNull() {
            addCriterion("HAS_ALLOWANCE is null");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceIsNotNull() {
            addCriterion("HAS_ALLOWANCE is not null");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceEqualTo(Integer value) {
            addCriterion("HAS_ALLOWANCE =", value, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceNotEqualTo(Integer value) {
            addCriterion("HAS_ALLOWANCE <>", value, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceGreaterThan(Integer value) {
            addCriterion("HAS_ALLOWANCE >", value, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceGreaterThanOrEqualTo(Integer value) {
            addCriterion("HAS_ALLOWANCE >=", value, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceLessThan(Integer value) {
            addCriterion("HAS_ALLOWANCE <", value, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceLessThanOrEqualTo(Integer value) {
            addCriterion("HAS_ALLOWANCE <=", value, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceIn(List<Integer> values) {
            addCriterion("HAS_ALLOWANCE in", values, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceNotIn(List<Integer> values) {
            addCriterion("HAS_ALLOWANCE not in", values, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceBetween(Integer value1, Integer value2) {
            addCriterion("HAS_ALLOWANCE between", value1, value2, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andHasAllowanceNotBetween(Integer value1, Integer value2) {
            addCriterion("HAS_ALLOWANCE not between", value1, value2, "hasAllowance");
            return (Criteria) this;
        }

        public Criteria andSalaryIsNull() {
            addCriterion("SALARY is null");
            return (Criteria) this;
        }

        public Criteria andSalaryIsNotNull() {
            addCriterion("SALARY is not null");
            return (Criteria) this;
        }

        public Criteria andSalaryEqualTo(String value) {
            addCriterion("SALARY =", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotEqualTo(String value) {
            addCriterion("SALARY <>", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryGreaterThan(String value) {
            addCriterion("SALARY >", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryGreaterThanOrEqualTo(String value) {
            addCriterion("SALARY >=", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryLessThan(String value) {
            addCriterion("SALARY <", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryLessThanOrEqualTo(String value) {
            addCriterion("SALARY <=", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryLike(String value) {
            addCriterion("SALARY like", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotLike(String value) {
            addCriterion("SALARY not like", value, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryIn(List<String> values) {
            addCriterion("SALARY in", values, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotIn(List<String> values) {
            addCriterion("SALARY not in", values, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryBetween(String value1, String value2) {
            addCriterion("SALARY between", value1, value2, "salary");
            return (Criteria) this;
        }

        public Criteria andSalaryNotBetween(String value1, String value2) {
            addCriterion("SALARY not between", value1, value2, "salary");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("UNIT is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("UNIT is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("UNIT =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("UNIT <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("UNIT >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("UNIT >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("UNIT <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("UNIT <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("UNIT like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("UNIT not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("UNIT in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("UNIT not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("UNIT between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("UNIT not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andStartDataIsNull() {
            addCriterion("START_DATA is null");
            return (Criteria) this;
        }

        public Criteria andStartDataIsNotNull() {
            addCriterion("START_DATA is not null");
            return (Criteria) this;
        }

        public Criteria andStartDataEqualTo(Date value) {
            addCriterion("START_DATA =", value, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataNotEqualTo(Date value) {
            addCriterion("START_DATA <>", value, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataGreaterThan(Date value) {
            addCriterion("START_DATA >", value, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataGreaterThanOrEqualTo(Date value) {
            addCriterion("START_DATA >=", value, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataLessThan(Date value) {
            addCriterion("START_DATA <", value, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataLessThanOrEqualTo(Date value) {
            addCriterion("START_DATA <=", value, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataIn(List<Date> values) {
            addCriterion("START_DATA in", values, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataNotIn(List<Date> values) {
            addCriterion("START_DATA not in", values, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataBetween(Date value1, Date value2) {
            addCriterion("START_DATA between", value1, value2, "startData");
            return (Criteria) this;
        }

        public Criteria andStartDataNotBetween(Date value1, Date value2) {
            addCriterion("START_DATA not between", value1, value2, "startData");
            return (Criteria) this;
        }

        public Criteria andEndDataIsNull() {
            addCriterion("END_DATA is null");
            return (Criteria) this;
        }

        public Criteria andEndDataIsNotNull() {
            addCriterion("END_DATA is not null");
            return (Criteria) this;
        }

        public Criteria andEndDataEqualTo(Date value) {
            addCriterion("END_DATA =", value, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataNotEqualTo(Date value) {
            addCriterion("END_DATA <>", value, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataGreaterThan(Date value) {
            addCriterion("END_DATA >", value, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataGreaterThanOrEqualTo(Date value) {
            addCriterion("END_DATA >=", value, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataLessThan(Date value) {
            addCriterion("END_DATA <", value, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataLessThanOrEqualTo(Date value) {
            addCriterion("END_DATA <=", value, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataIn(List<Date> values) {
            addCriterion("END_DATA in", values, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataNotIn(List<Date> values) {
            addCriterion("END_DATA not in", values, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataBetween(Date value1, Date value2) {
            addCriterion("END_DATA between", value1, value2, "endData");
            return (Criteria) this;
        }

        public Criteria andEndDataNotBetween(Date value1, Date value2) {
            addCriterion("END_DATA not between", value1, value2, "endData");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("START_TIME is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("START_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("START_TIME =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("START_TIME <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("START_TIME >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("START_TIME >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("START_TIME <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("START_TIME <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("START_TIME in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("START_TIME not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("START_TIME between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("START_TIME not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("END_TIME is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("END_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("END_TIME =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("END_TIME <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("END_TIME >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("END_TIME >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("END_TIME <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("END_TIME <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("END_TIME in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("END_TIME not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("END_TIME between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("END_TIME not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIsNull() {
            addCriterion("DISTRICT_ID is null");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIsNotNull() {
            addCriterion("DISTRICT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictIdEqualTo(Integer value) {
            addCriterion("DISTRICT_ID =", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotEqualTo(Integer value) {
            addCriterion("DISTRICT_ID <>", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdGreaterThan(Integer value) {
            addCriterion("DISTRICT_ID >", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("DISTRICT_ID >=", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdLessThan(Integer value) {
            addCriterion("DISTRICT_ID <", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdLessThanOrEqualTo(Integer value) {
            addCriterion("DISTRICT_ID <=", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIn(List<Integer> values) {
            addCriterion("DISTRICT_ID in", values, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotIn(List<Integer> values) {
            addCriterion("DISTRICT_ID not in", values, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdBetween(Integer value1, Integer value2) {
            addCriterion("DISTRICT_ID between", value1, value2, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotBetween(Integer value1, Integer value2) {
            addCriterion("DISTRICT_ID not between", value1, value2, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIsNull() {
            addCriterion("DISTRICT is null");
            return (Criteria) this;
        }

        public Criteria andDistrictIsNotNull() {
            addCriterion("DISTRICT is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictEqualTo(String value) {
            addCriterion("DISTRICT =", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotEqualTo(String value) {
            addCriterion("DISTRICT <>", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictGreaterThan(String value) {
            addCriterion("DISTRICT >", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictGreaterThanOrEqualTo(String value) {
            addCriterion("DISTRICT >=", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLessThan(String value) {
            addCriterion("DISTRICT <", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLessThanOrEqualTo(String value) {
            addCriterion("DISTRICT <=", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLike(String value) {
            addCriterion("DISTRICT like", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotLike(String value) {
            addCriterion("DISTRICT not like", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictIn(List<String> values) {
            addCriterion("DISTRICT in", values, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotIn(List<String> values) {
            addCriterion("DISTRICT not in", values, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictBetween(String value1, String value2) {
            addCriterion("DISTRICT between", value1, value2, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotBetween(String value1, String value2) {
            addCriterion("DISTRICT not between", value1, value2, "district");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("LOCATION is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("LOCATION is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("LOCATION =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("LOCATION <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("LOCATION >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("LOCATION >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("LOCATION <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("LOCATION <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("LOCATION like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("LOCATION not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("LOCATION in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("LOCATION not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("LOCATION between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("LOCATION not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("DESCRIPTION =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("DESCRIPTION <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("DESCRIPTION >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("DESCRIPTION <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("DESCRIPTION like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("DESCRIPTION not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("DESCRIPTION in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("DESCRIPTION not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("DESCRIPTION between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("DESCRIPTION not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andRequirementIsNull() {
            addCriterion("REQUIREMENT is null");
            return (Criteria) this;
        }

        public Criteria andRequirementIsNotNull() {
            addCriterion("REQUIREMENT is not null");
            return (Criteria) this;
        }

        public Criteria andRequirementEqualTo(String value) {
            addCriterion("REQUIREMENT =", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotEqualTo(String value) {
            addCriterion("REQUIREMENT <>", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementGreaterThan(String value) {
            addCriterion("REQUIREMENT >", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementGreaterThanOrEqualTo(String value) {
            addCriterion("REQUIREMENT >=", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementLessThan(String value) {
            addCriterion("REQUIREMENT <", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementLessThanOrEqualTo(String value) {
            addCriterion("REQUIREMENT <=", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementLike(String value) {
            addCriterion("REQUIREMENT like", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotLike(String value) {
            addCriterion("REQUIREMENT not like", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementIn(List<String> values) {
            addCriterion("REQUIREMENT in", values, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotIn(List<String> values) {
            addCriterion("REQUIREMENT not in", values, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementBetween(String value1, String value2) {
            addCriterion("REQUIREMENT between", value1, value2, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotBetween(String value1, String value2) {
            addCriterion("REQUIREMENT not between", value1, value2, "requirement");
            return (Criteria) this;
        }

        public Criteria andDeadlineIsNull() {
            addCriterion("DEADLINE is null");
            return (Criteria) this;
        }

        public Criteria andDeadlineIsNotNull() {
            addCriterion("DEADLINE is not null");
            return (Criteria) this;
        }

        public Criteria andDeadlineEqualTo(Date value) {
            addCriterion("DEADLINE =", value, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineNotEqualTo(Date value) {
            addCriterion("DEADLINE <>", value, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineGreaterThan(Date value) {
            addCriterion("DEADLINE >", value, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineGreaterThanOrEqualTo(Date value) {
            addCriterion("DEADLINE >=", value, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineLessThan(Date value) {
            addCriterion("DEADLINE <", value, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineLessThanOrEqualTo(Date value) {
            addCriterion("DEADLINE <=", value, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineIn(List<Date> values) {
            addCriterion("DEADLINE in", values, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineNotIn(List<Date> values) {
            addCriterion("DEADLINE not in", values, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineBetween(Date value1, Date value2) {
            addCriterion("DEADLINE between", value1, value2, "deadline");
            return (Criteria) this;
        }

        public Criteria andDeadlineNotBetween(Date value1, Date value2) {
            addCriterion("DEADLINE not between", value1, value2, "deadline");
            return (Criteria) this;
        }

        public Criteria andTelIsNull() {
            addCriterion("TEL is null");
            return (Criteria) this;
        }

        public Criteria andTelIsNotNull() {
            addCriterion("TEL is not null");
            return (Criteria) this;
        }

        public Criteria andTelEqualTo(String value) {
            addCriterion("TEL =", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotEqualTo(String value) {
            addCriterion("TEL <>", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThan(String value) {
            addCriterion("TEL >", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThanOrEqualTo(String value) {
            addCriterion("TEL >=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThan(String value) {
            addCriterion("TEL <", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThanOrEqualTo(String value) {
            addCriterion("TEL <=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLike(String value) {
            addCriterion("TEL like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotLike(String value) {
            addCriterion("TEL not like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelIn(List<String> values) {
            addCriterion("TEL in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotIn(List<String> values) {
            addCriterion("TEL not in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelBetween(String value1, String value2) {
            addCriterion("TEL between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotBetween(String value1, String value2) {
            addCriterion("TEL not between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDelIsNull() {
            addCriterion("DEL is null");
            return (Criteria) this;
        }

        public Criteria andDelIsNotNull() {
            addCriterion("DEL is not null");
            return (Criteria) this;
        }

        public Criteria andDelEqualTo(Integer value) {
            addCriterion("DEL =", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotEqualTo(Integer value) {
            addCriterion("DEL <>", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelGreaterThan(Integer value) {
            addCriterion("DEL >", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("DEL >=", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelLessThan(Integer value) {
            addCriterion("DEL <", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelLessThanOrEqualTo(Integer value) {
            addCriterion("DEL <=", value, "del");
            return (Criteria) this;
        }

        public Criteria andDelIn(List<Integer> values) {
            addCriterion("DEL in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotIn(List<Integer> values) {
            addCriterion("DEL not in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelBetween(Integer value1, Integer value2) {
            addCriterion("DEL between", value1, value2, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotBetween(Integer value1, Integer value2) {
            addCriterion("DEL not between", value1, value2, "del");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}